package com.dycn.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("page")
public class RootController {
    @RequestMapping("{root}/{file}")
    public  String views(@PathVariable("root") String root, @PathVariable("file") String file){
        return "/"+root+"/"+file;
    }
}
